﻿using System;
using System.Net.Sockets;
using System.Net;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleWebServer
{
    public class SimpleWebServer
    {
        private Socket _server;

        public SimpleWebServer(int port)
        {
            _server = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);
            _server.Bind(new IPEndPoint(IPAddress.Loopback, port));
        }
    }
}
